package com.auth.config.security;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author: hw
 * @date: 2020/12/9 10:47
 */
@Data
@Configuration
@EnableConfigurationProperties
@ConfigurationProperties(prefix = "secret" )
public class SecretKey {

    /**
     *  jks名称
     */
    private String jksName ;

    /**
     * jks密码
     */
    private String jksPassword ;

    /**
     *  jks类型
     */
    private String jksType ;

    /**
     * jks别名
     */
    private String jksAlias;

    /**
     * 公钥文件名称
     */
    private String jksPublicName ;
}
